package com.ctshk.rpc.order.custom.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ctshk.rpc.order.custom.dto.order.CustomOrderTouristQuitListDTO;
import com.ctshk.rpc.order.custom.entity.CustomizedOrderTouristQuit;
import com.ctshk.rpc.order.custom.provider.CustomOrderTouristQuitProvider;
import com.ctshk.rpc.order.custom.req.order.CustomOrderTouristQuitListReq;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.SelectProvider;

/**
 * <p>
 * 游客退团 Mapper 接口
 * </p>
 *
 * @author 叶冠峰
 * @since 2021-02-22
 */
public interface CustomizedOrderTouristQuitMapper extends BaseMapper<CustomizedOrderTouristQuit> {

    /**
     * 游客退团列表
     * @param page
     * @param req
     * @return
     */
    @SelectProvider(type = CustomOrderTouristQuitProvider.class, method = "selectListBySelective")
    IPage<CustomOrderTouristQuitListDTO> selectListBySelective(@Param("page") IPage<CustomOrderTouristQuitListReq> page, @Param("req") CustomOrderTouristQuitListReq req);
}
